{% extends "base.html" %}

{% block content %}

    <div class="main">

        <!-- Messages  -->
        {% if messages %}
        <ul class="messages">
            {% for message in messages %}
            <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
            {% endfor %}
        </ul>
        {% endif %}

        <!-- Post  -->
        <ul>
            <div class="blogItemWrapper">
                <div class="blogTitleBar">
                </div>
                <div class="blogTitle">{{ post.title }}</div>
                <div class="blogItem">   
                    <div class="blogBody">{{ post.body|removetags:""|safe }}</div>
                       
                </div>
            </div>

            
        </ul>

    </div>

{% endblock %}

{% block pageSpecScript %}

<script type="text/javascript">
    $(document).ready(function(){   
    initWeb(1);
    });
</script>
{% endblock %}
